include(../plugins.pri)
CONFIG(debug,debug|release) {
	TARGET = Douband
}
else {
	TARGET = Douban
}
win32:CONFIG += qaxcontainer
DEFINES	+=	REUSE_ENTRY

HEADERS	+=	douban_global.h
HEADERS	+=	DoubanContext.h
HEADERS	+=	DoubanContext_p.h
HEADERS	+=	DoubanPlugin.h
HEADERS	+=	data/Doumail.h
HEADERS	+=	data/DoubanUser.h
HEADERS	+=	data/Contacts.h
HEADERS	+=	doumail/MailModule.h
HEADERS	+=	doumail/MailModule_p.h
HEADERS	+=	doumail/MailViewer.h
HEADERS	+=	doumail/DoumailModel.h
HEADERS	+=	doumail/MailCreator.h
HEADERS	+=	miniblog/MiniBlogModule.h
HEADERS	+=	miniblog/MiniBlogModule_p.h
HEADERS	+=	miniblog/MiniBlogEntryWidget.h
HEADERS	+=	miniblog/MiniBlogEntry.h
HEADERS	+=	miniblog/ReplyViewer.h
HEADERS	+=	miniblog/MiniBlogLayout.h
HEADERS	+=	miniblog/RecommendViewer.h
HEADERS	+=	miniblog/RecommendSubViewer.h
HEADERS	+=	miniblog/EventViewer.h
HEADERS	+=	miniblog/MiniBlogEntryWidget_p2.h
HEADERS	+=	notification/NotificationModule.h
HEADERS	+=	notification/NewNotifyDialog.h
HEADERS	+=	internal/DoubanConfigWidget.h
HEADERS	+=	fmradio/FMModule.h
HEADERS	+=	fmradio/FMModule_p.h
HEADERS	+=	fmradio/IPlayerBackend.h
HEADERS	+=	fmradio/MusicInfo.h
win32:HEADERS	+=	fmradio/FlashPlayerBackend.h
#HEADERS	+=	miniblog/UserIconLabel.h
#HEADERS	+=	internal/DoubanFrame_p.h
#HEADERS	+=	internal/DoubanFrame.h
#HEADERS	+=	fmradio/FMConfig.h

SOURCES	+=	DoubanPlugin.cpp
SOURCES	+=	DoubanContext.cpp
SOURCES	+=	data/DoubanUser.cpp
SOURCES	+=	data/Contacts.cpp
SOURCES	+=	internal/DoubanConfigWidget.cpp
SOURCES	+=	miniblog/MiniBlogModule.cpp
SOURCES	+=	doumail/MailModule.cpp
SOURCES	+=	doumail/MailViewer.cpp
SOURCES	+=	doumail/DoumailModel.cpp
SOURCES	+=	doumail/MailCreator.cpp
SOURCES	+=	notification/NotificationModule.cpp
SOURCES	+=	notification/NewNotifyDialog.cpp
SOURCES	+=	miniblog/MiniBlogEntry.cpp
SOURCES	+=	miniblog/MiniBlogEntryWidget.cpp
SOURCES	+=	miniblog/ReplyViewer.cpp
SOURCES	+=	miniblog/MiniBlogLayout.cpp
SOURCES	+=	miniblog/RecommendViewer.cpp
SOURCES	+=	miniblog/RecommendSubViewer.cpp
SOURCES	+=	miniblog/EventViewer.cpp
SOURCES	+=	miniblog/MiniBlogEntryWidget_p2.cpp
SOURCES	+=	fmradio/FMModule.cpp
SOURCES	+=	fmradio/MusicInfo.cpp
win32:SOURCES	+=	fmradio/FlashPlayerBackend.cpp
#SOURCES	+=	miniblog/UserIconLabel.cpp
#SOURCES	+=	internal/DoubanFrame.cpp
#SOURCES	+=	fmradio/FMConfig.cpp

FORMS	+=	fmradio/RadioFrame.ui
FORMS	+=	internal/DoubanConfigWidget.ui
FORMS	+=	miniblog/RecommendSubViewer.ui
#FORMS	+=	miniblog/RecommendViewer.ui
#FORMS	+=	miniblog/EventViewer.ui
#FORMS	+=	internal/DoubanFrame.ui
#FORMS	+=	doumail/MailViewer.ui
#FORMS	+=	doumail/MailCreator.ui
#FORMS	+=	notification/NewNotifyDialog.ui
#FORMS	+=	fmradio/FMConfig.ui

win32:RESOURCES += DoubanRes.qrc
